package com.xuecheng.content.convert;

import com.xuecheng.content.entity.CourseBase;
import com.xuecheng.content.entity.CoursePub;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/*

coursepub这个表
完成两个实体类属性值的映射赋值
 */
@Mapper
public interface CoursePubConvert {


    CoursePubConvert INSTANCE = Mappers.getMapper(CoursePubConvert.class);


    CoursePub courseBase2coursePub(CourseBase courseBase);
}
